func internal/cpu.extractBits
9 uses
internal/cpu (current package)
datacache_x86.go#L32: func extractBits(arg uint32, l int, r int) uint32 {
datacache_x86.go#L69: lineSize := extractBits(ebx, 0, 11) + 1 // Bits 11-0: Line size in bytes - 1
datacache_x86.go#L70: partitions := extractBits(ebx, 12, 21) + 1 // Bits 21-12: Physical line partitions - 1
datacache_x86.go#L71: ways := extractBits(ebx, 22, 31) + 1 // Bits 31-22: Ways of associativity - 1
datacache_x86.go#L101: l1dSize := uintptr(extractBits(ecx5, 24, 31) << 10)
datacache_x86.go#L105: if l2Assoc := extractBits(ecx6, 12, 15); l2Assoc == 0 {
datacache_x86.go#L108: l2Size := uintptr(extractBits(ecx6, 16, 31) << 10)
datacache_x86.go#L112: if l3Assoc := extractBits(edx6, 12, 15); l3Assoc == 0 {
datacache_x86.go#L117: l3Size := uintptr(extractBits(edx6, 18, 31) * (512 << 10))
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |